import request from '@/utils/request'

//订单统计报表
export function report_order_statistical(params) {
  return request({
    url: '/api/report_order_statistical',
    method: 'get',
    params
  })
}


//商品销售报表
export function report_goods_sales(params) {
  return request({
    url: '/api/report_goods_sales',
    method: 'get',
    params
  })
}


//客户销售报表

export function report_user_order(params) {
  return request({
    url: '/api/report_user_order',
    method: 'get',
    params
  })
}

//订单统计

export function get_order_statistics(params) {
  return request({
    url: '/api/order_statistics',
    method: 'get',
    params
  })
}


//订单商品统计
//明细
export function get_order_goods_statistics(params) {
  return request({
    url: '/api/order_goods_statistics',
    method: 'get',
    params
  })
}

//商品

export function get_order_goods_statisticsgoods(params) {
  return request({
    url: '/api/order_goods_statisticsgoods',
    method: 'get',
    params
  })
}


//用户
export function get_order_goods_statisticsuser(params) {
  return request({
    url: '/api/order_goods_statisticsuser',
    method: 'get',
    params
  })
}



export function get_statistics(params) {
  return request({
    url: '/api/oga_statistics',
    method: 'get',
    params
  })
}